<?php
namespace app\model\admin\material;

use laytp\BaseModel;

class MaterialTitle extends BaseModel
{
    protected $name = 'material_title';

    public function content(){
        return $this->hasMany(MaterialTitleContent::class,"material_title_id","id");
    }
}